c program to reverse a string using strrev function